# __author__ = "James Zhang"
# !/usr/bin/python
# -*- coding: utf-8 -*-
from __future__ import print_function,division

import tornado.web


class DemandFormUIModule(tornado.web.UIModule):

    def render(self, demand, *args, **kwargs):
        return self.render_string("demand/demand_form.inc",
                                  demand=demand, **kwargs)

ui_modules = dict(
    DemandForm=DemandFormUIModule
)
